﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using clf.weighing.entity;

namespace weighing
{
    /// <summary>
    /// 磅单审核的操作
    /// </summary>


    public class WeighingBillAuditVo : BaseVo
    {
        #region Constract
        public WeighingBillAudit mWeighingBillAudit;
        public WeighingBillAuditVo(WeighingBillAudit weighingBillAudit)
        {
            mWeighingBillAudit = weighingBillAudit;
        }
        #endregion



        public Int64 Id
        {
            get
            {
                return mWeighingBillAudit.id;
            }
            set
            {
                mWeighingBillAudit.id = value;
                OnPropertyChanged(this, nameof(Id));
            }
        }


        public Int64? BillId
        {
            get
            {
                return mWeighingBillAudit.billId;
            }
            set
            {
                mWeighingBillAudit.billId = value;
                OnPropertyChanged(this, nameof(BillId));
            }
        }


        public String BillNumber
        {
            get
            {
                return mWeighingBillAudit.billNumber;
            }
            set
            {
                mWeighingBillAudit.billNumber = value;
                OnPropertyChanged(this, nameof(BillNumber));
            }
        }

        /// <summary>
        /// 注释:类型 (0:未知，1:卸货审核,2:装货审核,3:过磅审核）
        /// 可空:YES
        /// 默认值:0
        /// </summary>

        public Int32? Type
        {
            get
            {
                return mWeighingBillAudit.type;
            }
            set
            {
                mWeighingBillAudit.type = value;
                OnPropertyChanged(this, nameof(Type));
            }
        }

        /// <summary>
        /// 注释:状态 0 未审 1 通过
        /// 可空:YES
        /// 默认值:0
        /// </summary>

        public Int32? Status
        {
            get
            {
                return mWeighingBillAudit.status;
            }
            set
            {
                mWeighingBillAudit.status = value;
                OnPropertyChanged(this, nameof(Status));
            }
        }


        public Int64? UserId
        {
            get
            {
                return mWeighingBillAudit.userId;
            }
            set
            {
                mWeighingBillAudit.userId = value;
                OnPropertyChanged(this, nameof(UserId));
            }
        }

        /// <summary>
        /// 注释:auditor
        /// 可空:YES
        /// </summary>

        public String UserName
        {
            get
            {
                return mWeighingBillAudit.userName;
            }
            set
            {
                mWeighingBillAudit.userName = value;
                OnPropertyChanged(this, nameof(UserName));
            }
        }

        /// <summary>
        /// 注释:audit time
        /// 可空:YES
        /// </summary>

        public DateTime? AddTime
        {
            get
            {
                return mWeighingBillAudit.addTime;
            }
            set
            {
                mWeighingBillAudit.addTime = value;
                OnPropertyChanged(this, nameof(AddTime));
            }
        }


        public String CarNumber
        {
            get
            {
                return mWeighingBillAudit.carNumber;
            }
            set
            {
                mWeighingBillAudit.carNumber = value;
                OnPropertyChanged(this, nameof(CarNumber));
            }
        }


        public Int32? IsDelete
        {
            get
            {
                return mWeighingBillAudit.isDelete;
            }
            set
            {
                mWeighingBillAudit.isDelete = value;
                OnPropertyChanged(this, nameof(IsDelete));
            }
        }


        public DateTime? DeleteTime
        {
            get
            {
                return mWeighingBillAudit.deleteTime;
            }
            set
            {
                mWeighingBillAudit.deleteTime = value;
                OnPropertyChanged(this, nameof(DeleteTime));
            }
        }

        /// <summary>
        /// 注释:删除原因
        /// 可空:YES
        /// </summary>

        public String DeleteReason
        {
            get
            {
                return mWeighingBillAudit.deleteReason;
            }
            set
            {
                mWeighingBillAudit.deleteReason = value;
                OnPropertyChanged(this, nameof(DeleteReason));
            }
        }


        public String Remark
        {
            get
            {
                return mWeighingBillAudit.remark;
            }
            set
            {
                mWeighingBillAudit.remark = value;
                OnPropertyChanged(this, nameof(Remark));
            }
        }

    }
}
